package com.wolfsea.scrolledfloatactionbutton
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.wolfsea.scrolledfloatactionbutton.extendmethod.startActivity
import kotlinx.android.synthetic.main.activity_main.*

class MainActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {

        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
        initEvent()
    }

    private fun initEvent() {
        first_btn.setOnClickListener {
            startActivity<TextViewDrawableActivity>()
        }

        btn_layer_list.setOnClickListener {
            startActivity<LayerListActivity>()
        }

        btn_layer_list_v2.setOnClickListener {
            startActivity<LayerListActivityV2>()
        }
    }

}